package org.dtrd.modules.food.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.food.entity.bean.FoodCategoryDetail;
import org.dtrd.modules.food.entity.po.DtrdExtEmsYwFoodCategory;
import org.dtrd.modules.food.entity.request.FoodCategoryRequest;

import java.util.List;

/**
 * <p>
 * 食材分类服务类
 * </p>
 *
 * @author QR
 * @since 2021-12-08
 */
public interface IDtrdExtEmsYwFoodCategoryService extends IService<DtrdExtEmsYwFoodCategory> {

    List<FoodCategoryDetail> getFoodCategoryList(FoodCategoryRequest request);

    FoodCategoryDetail getFoodCategory(Integer dataId);

    boolean saveOrUpdateFoodCategory(FoodCategoryDetail dto);

    boolean removeFoodCategory(Integer dataId);
}
